package com.service;

import com.entity.Category;
import com.github.pagehelper.PageInfo;
import com.vo.Page;

import java.util.List;

public interface CategoryService {
    List<Category> listAll();
    PageInfo<Category> list(Page<Category> page);
    Category queryById(Integer categoryId);
    int insert(Category category);
    int update(Category Category);
    int deleteById(Integer categoryId);

    List<Category> lists();
}
